package com.mall.shopping.converter;

import com.mall.shopping.dal.entitys.Panel;
import com.mall.shopping.dto.PanelDto;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;

import java.util.Set;

@Mapper(componentModel = "spring")
public interface PanelConverter {

    PanelDto panelDoToDto(Panel panel);
    Set<PanelDto> panelsDoToDto(Set<Panel> panels);
}
